package com.ruoyi.basedata.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 结算加成比率对象 t_oms_settlementrate
 * 
 * @author ptt
 * @date 2023-02-08
 */
public class OmsSettlementrate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 策略名称 */
    @Excel(name = "策略名称")
    private String tacticsname;

    /** 销售组织编码 */
    @Excel(name = "销售组织编码")
    private String saleorgnumber;

    /** 销售组织名称 */
    @Excel(name = "销售组织名称")
    private String saleorgname;

    /** 生效日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生效日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startdate;

    /** 失效日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "失效日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date enddate;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 结算加成比率分录信息 */
    private List<OmsSettlementrateentry> omsSettlementrateentryList;

    private List<OmsSettlementrateentrytwo> omsSettlementrateentrytwoList;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public String getTacticsname() {
        return tacticsname;
    }

    public void setTacticsname(String tacticsname) {
        this.tacticsname = tacticsname;
    }

    public void setSaleorgnumber(String saleorgnumber)
    {
        this.saleorgnumber = saleorgnumber;
    }

    public String getSaleorgnumber()
    {
        return saleorgnumber;
    }
    public void setSaleorgname(String saleorgname)
    {
        this.saleorgname = saleorgname;
    }

    public String getSaleorgname()
    {
        return saleorgname;
    }
    public void setStartdate(Date startdate)
    {
        this.startdate = startdate;
    }

    public Date getStartdate()
    {
        return startdate;
    }
    public void setEnddate(Date enddate)
    {
        this.enddate = enddate;
    }

    public Date getEnddate()
    {
        return enddate;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }

    public List<OmsSettlementrateentry> getOmsSettlementrateentryList()
    {
        return omsSettlementrateentryList;
    }

    public void setOmsSettlementrateentryList(List<OmsSettlementrateentry> omsSettlementrateentryList)
    {
        this.omsSettlementrateentryList = omsSettlementrateentryList;
    }

    public List<OmsSettlementrateentrytwo> getOmsSettlementrateentrytwoList() {
        return omsSettlementrateentrytwoList;
    }

    public void setOmsSettlementrateentrytwoList(List<OmsSettlementrateentrytwo> omsSettlementrateentrytwoList) {
        this.omsSettlementrateentrytwoList = omsSettlementrateentrytwoList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tacticsname", getTacticsname())
            .append("saleorgnumber", getSaleorgnumber())
            .append("saleorgname", getSaleorgname())
            .append("startdate", getStartdate())
            .append("enddate", getEnddate())
            .append("status", getStatus())
            .append("omsSettlementrateentryList", getOmsSettlementrateentryList())
            .toString();
    }
}
